import {routerMenu} from './_common/routermenu'
import {header} from './_common/routerpageheader'

const path = location.hash.slice(1)

export default Pager.pages([
  {url: '/order/list', content: import('./_order/list')},
  {url: '/order/detail', content: import('./_order/detail/index')},
], {
  header: function () {
    return <header.UI/>
  },
  menus: function() {
    return <routerMenu.UI />
  },
  select: path || '/order/list'
})
